
private ["_unit"];
_unit = _this select 0;
WaitUntil{(getPos _unit select 2)<3};
sleep 3;

_unit setFuel 0;
_unit VehicleChat "Repairing...";
sleep 5;
_unit setDammage 0;
_unit VehicleChat "Rearming...";
sleep 5;
_unit setVehicleAmmo 1;
_unit VehicleChat "Refueling...";
sleep 5;
_unit setFuel 1;
_unit VehicleChat "Finished.";

if(true) exitWith{};